package com.dyw.ssmp.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dyw.ssmp.entity.Book;

import java.util.List;

/**
 * @author Devil
 * @create 2022-01-23-21:52
 */
@SuppressWarnings("all")
public interface BookService extends IService<Book> {
    //boolean save(Book book);
    //boolean update(Book book);
    //boolean delete(Integer id);
    //Book getById(Integer id);
    List<Book> getAll();

    IPage<Book> getPage(int currentPage, int pageSize, Book book);
}
